<?php
	session_start();
	if(!isset($_SESSION['uid']))
		die('{"error":2,"error_msg":"User not login."}');
?>
{"uid":"<?php echo $_SESSION['uid']?>","name":"<?php echo $_SESSION['name']?>","friends_count":<?php echo $_SESSION['friends_count']?>,"photo":"<?php echo $_SESSION['photo']?>"}